package com.java.system.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 *
 * </p>
 *
 * @author xiaoman
 * @since 2023-07-12
 */
public class Camera implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 摄像头ID
     */
    @TableId(value = "c_id", type = IdType.AUTO)
    private Integer cId;

    /**
     * 摄像头名字
     */
    private String cameraName;

    /**
     * 摄像头区域ID
     */
    private Integer areaId;

    /**
     * 摄像头类型ID
     */
    private Integer typeId;

    public Integer getAccessStatus() {
        return accessStatus;
    }

    public void setAccessStatus(Integer accessStatus) {
        this.accessStatus = accessStatus;
    }

    public Integer getAiStatus() {
        return aiStatus;
    }

    public void setAiStatus(Integer aiStatus) {
        this.aiStatus = aiStatus;
    }

    private Integer accessStatus;
    private Integer aiStatus;

    public Integer getcId() {
        return cId;
    }

    public void setcId(Integer cId) {
        this.cId = cId;
    }

    public String getCameraName() {
        return cameraName;
    }

    public void setCameraName(String cameraName) {
        this.cameraName = cameraName;
    }

    public Integer getAreaId() {
        return areaId;
    }

    public void setAreaId(Integer areaId) {
        this.areaId = areaId;
    }

    public Integer getTypeId() {
        return typeId;
    }

    public void setTypeId(Integer typeId) {
        this.typeId = typeId;
    }

    @Override
    public String toString() {
        return "Camera{" +
                "cId=" + cId +
                ", cameraName='" + cameraName + '\'' +
                ", areaId=" + areaId +
                ", typeId=" + typeId +
                ", accessStatus=" + accessStatus +
                ", aiStatus=" + aiStatus +
                '}';
    }
}
